﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
namespace BLL
{
    public class KhambenhBLL
    {
        KhamBenhDAL tk = new KhamBenhDAL();
        public IQueryable LayDSKhamBenh()
        {
            return tk.LayDSKhamBenh();
        }
        public List<KHAMBENH> LayDSKhamBenh(int maKB, int maBN)
        {
            return tk.LayDSKhamBenh(maKB, maBN);
        }
        public IQueryable LayDSKhamBenh(DateTime dt)
        {
            return tk.LayDSKhamBenh(dt);
        }
        public IQueryable timKiemDS(string dt)
        {
            return tk.timKiemDS(dt);
        }
        public IQueryable timKiemDS(int dt)
        {
            return tk.timKiemDS(dt);
        }
        public bool ThemKhamBenh(KHAMBENH s)
        {
           tk.ThemKhamBenh(s);
           return true;
        }
        public bool suaKhamBenh(KHAMBENH s)
        {

            return tk.suaKhamBenh(s);
        }
        public bool xoaKhamBenh(int ThuocID)
        {
            return tk.xoaKhamBenh(ThuocID);
        }
        public int demBenhNhan1Ngay(DateTime dt)
        {
            return tk.demBenhNhan1Ngay(dt);
        }
        public int thongKeTheoNgay(int day,int mont,int year)
        {
            return tk.thongKeTheoNgay(day,mont,year);
        }
        public object ThongKeThuoc(int month, int year)
        {

            return tk.ThongKeThuoc(month, year);
        }
        public IQueryable LayDSKhamBenh(int month)
        {
            return tk.LayDSKhamBenh(month);
        }
        public List<KHAMBENH> LayDSBaoCaoPKB(int maBN)
        {
            return tk.LayDSBaoCaoPKB(maBN);
        }
    }
}
